package com.topcheer.provider.rbac.service;

import java.util.List;

import com.topcheer.provider.rbac.entity.Operation;
import com.topcheer.provider.rbac.mapper.OperationMapper;
import org.springframework.stereotype.Service;
import com.topcheer.common.base.service.impl.BaseBiz;

@Service("operationService")
public class OperationService extends BaseBiz<OperationMapper, Operation>{


    public List<Operation> selectOperation(Long userId){
        return mapper.selectOperation(userId);
    }
    public int insertOrNo(Operation operation){
        return mapper.insertOrNo(operation);
    }

}
